Ext.onReady(function(){
 				
	Ext.applyIf(Ext.form.VTypes , {
			
			"telphone":function(_v){
				return /(^\d{3}\-\d{7,8}$)|(^\d{4}\-\d{7,8}$)|(^\d{3}\d{7,8}$)|(^\d{4}\d{7,8}$)|(^\d{7,8}$)/.test(_v);
			},
			"telphoneText":"该输入项必须是电话号码格式,格式如:0373-5287364,,03735287364,5287364",
			"telphoneMask":/[0-9\-]/i,
			
		
			"mobile":function(_v){
				return /^1[1-9][0-9]\d{8}$/.test(_v);
			},
			"mobileText":"该输入项必须是手机号码格式,格式如:15801048526",
			"mobileMask":/[0-9]/i,
			
			"postalcode":function(_v){
				return /^[1-9]\d{5}$/.test(_v);
			},
			"postalcodeText":"该输入项必须是邮政编码格式,格式如:100000",
			"postalcodeMask":/[0-9]/i,
			
			"IDCard":function(_v){
				return /^[0-9]{17}([0-9]|[Xx])$/.test(_v);
			},
			"IDCardText":"该输入项必须是身份证号码格式,格式如:41070319890919301X,41070319890919301x",
			"IDCardMask":/[0-9]|[Xx]/i,
			
			"MonthSalary":function(_v){
				return /^[1-9]{1}[0-9]{2,6}$/.test(_v);
			},
			"MonthSalaryText":"该输入项必须是薪水格式,格式如:1200",
			"MonthSalaryMask":/[0-9]/i,
			
			"age":function(_v){
				if(/^\d+$/.test(_v)){
					var _age  = parseInt(_v);
					if(_age<200){
						return true;
					}
				}
				return false;
			},
			"ageText" : "该输入项必须是年龄格式，格式例如:25",
			"ageMask" : /[0-9]/i
			
		});
});